package cn.codeguy.component_download;

import okhttp3.ResponseBody;
import retrofit2.Call;

/**
 * Created by fred
 * Date: 2018/9/14.
 * Time: 14:14
 * classDescription:
 */
public interface DownloadCallback {
    void onInitComplete(Call<ResponseBody> download);
    void onStart();
    void onUpdate(String value);
    void onDownloadComplete(String msg,String path);
    void onDownloadError(String msg);
}
